The Liberty Basic Newsletter - Issue #142 - March 2006

© 2005, http://groups.yahoo.com/group/lbnews/

[http://babek.info/libertybasicfiles/lbnews/index.html]

All Rights Reserved

Please download the Zip Archive of this issue to get all associated files

"Indications of what humans would call a wild party? " -- Attributed to Lt. Commander Data (actor Bret Spiner) of Star Trek

In this issue:

API Corner - Drive Strings - By Alyce Watson

Technical Writing for Everybody - By Alyce Watson

Eddie's Lessons - Version 11 - By Alyce Watson

Coding With Sub Event Handlers - By Janet

Demo: Comboboxes and Hot Keys - By Bill Jennings

Using Wire - Strange Things, Reminders, and Tips - By Nally

Submission Guildlines

Newsletter help

Index

Table of Contents


The Best of Not In this issue:


Notes from the Editor

To Lt. Commander Data, this might look like a party. But it is something much, much better! It is knowledge, knowledge in pursuit of pure, programming enjoyment! Let us begin by introducing Alyce Watson's latest hat trick!

All of us know that the most recent versions of Windows allow us to "hot-connect" drives while programs are executing. In API Corner - Drive Strings, Alyce explains how to query the system for the names of all current drives using the GetLogicalDriveStringsA API call. Ultimately, this procedure will cause all the drive names to be placed in a string buffer, after which you can parse it using LB's built-in WORD$() function. See Alyce's demo at the end of the article.

Alyce finds the net a second time in her article, Technical Writing for Everybody, in which she provides excellent tips for writing documentation for your programs. I'm serious: bookmark this article and visit it frequently. Indeed, Alyce has probably forgotten more about writing than the rest of us will ever know! Raise your hand if you frequently disregard Alyce's writing tips. (My own hand is up, friends.)

In Version 11 of Eddie's Lessons, Alyce discusses the use and value of the RTF format for Liberty BASIC code files. As the title of her Eddie series suggests, Eddie's value is two-fold. It's a nifty little code editor, for one. Secondly, her staged roll-out of Eddie gives us a valuable programming insight each month. Marvelous, Alyce!

How many of you out there still handle control events with branch labels instead of SUBs? (Yeah, me too.) Well, bright star Janet Terra provides a terrific article that explains the programming efficiencies to be gained by directing multiple controls to the same SUB. As Janet explains, the SUB is aware which control called it by name, because the control's handle is passed to the SUB. Besides streamlining, this cool capability has other benefits, too! Read the article to find out what those are. Thanks, Janet.

Next, Bill Jennings provides a slick demo that shows how a combobox can be operated using keyboard events rather than mouse events. If your programming experience predates the era of windows and mice, then this demo can help you recreate those types of UI's. Thanks, Bill. (Oh, and write some more demos, too.)

Like a bad penny, Nally shows up again to chat a little more about Wire, the friendly name for the Liberty BASIC Wire Frame Library. In this article, Nally provides reminders and tips, and reviews some of the fundamental ideas that must be understood to make your Wire programming fun and effective.

***** ***** ***** ***** ***** *****

I gotta sign off, now campers! It's been fun and everything, but there's some serious eatin' that's gonna take place in a matter of minutes. Ethel just whipped up a whole mess of barbeque shrimp, just like they make at Pascal's Manale on Napolean Avenue. Don't let your brother eat it all, Ethel! I'm comin'!

Liberty BASIC Newsletter 142 is now secure. Nally out.


SUBMISSIONS

The Liberty BASIC Newsletter encourages all LB programmers to submit articles for publication. Everyone has something valuable to say, from beginners to veteran LBers. Consider sharing a code routine, with explanation. Perhaps you can review a favorite LB website, or program, or coding tool? Why not submit a list of questions that have been nagging at you? How about sharing your favorite algorithm?

The Publishing Team:
Alyce Watson: alycewatson at charter dot net
Brad Moore: ymail at copiasystems dot com
Tom Nally: SteelWeaver52 at aol dot com
Carl Gundel: carlg at libertybasic dot com
Bill Jennings: bbjen at hotPOP dot com
Janet Terra: janetterra at yahoo dot com

This newsletter was produced with WikiWriter

No part of this newsletter may be reproduced or published in another location without the expressed, written consent of the publishers.

See the full terms of use for more information.

Individual authors retain copyrights to their works.

NL42 Home

::::::::::::::::::::::::::::::::::::::::::::::::::::

API Corner

Technical Writing

Eddie V11

Sub Event Handlers

Comboboxes / Hot Keys

Wire - Reminders / Tips

::::::::::::::::::::::::::::::::::::::::::::::::::::

Submission Guildlines

Newsletter Help

Index